﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Log4Nez.Loggers;

namespace TestConsoleApplication
{
    class Message
    {
        public string message { get; set; }
        public long instance { get; set; }
        public int category { get; set; }
        public string userAction { get; set; }
    }
    class Program
    {

        static void Main(string[] args)
        {
            for (int e = 0; e < 4; e++)
                for (int j = 0; j < 5; j++)
                {
                    Message m = new Message()
                    {
                        userAction = j.ToString(),
                        category = 1,
                        instance = 20,
                        message = "messaggio di prova"
                    };

                    Logger.Error(m, "pippo", e.ToString(), "comm");
                }

        }

        static void timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {


        }
    }
}
